package com.repair.order.validator;

import com.repair.order.pojo.dto.OrderCreateParam;

/**
 * @author chunyu
 * @since 2024/10/2,15:34
 * 责任链模式
 */
public interface OrderCreateValidator {

    void setNext(OrderCreateValidator orderCreateValidator);

    OrderCreateValidator getNext();

    void validate(OrderCreateParam orderCreateParam);

}
